package com.atguigu.spring.entity;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@ConfigurationProperties(prefix = "atguigu")
public class AtguiguConfig {

    private String schoolName;
    private List<String> subjectList;
    private Integer schoolAge;

    public AtguiguConfig() {
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public List<String> getSubjectList() {
        return subjectList;
    }

    public void setSubjectList(List<String> subjectList) {
        this.subjectList = subjectList;
    }

    public Integer getSchoolAge() {
        return schoolAge;
    }

    public void setSchoolAge(Integer schoolAge) {
        this.schoolAge = schoolAge;
    }
}
